import request from '@/utils/request/index'

function saveCollection(data) {
	return request({
		url: '/api/article_collections/save',
		method: 'POST',
		data: data,
	});
}

function deleteCollection(data) {
	return request({
		url: '/api/article_collections/delete',
		method: 'POST',
		data: data,
	});
}

function my(data) {
	return request({
		url: '/api/article_collections/my',
		data: data,
	});
}

export default {
	save: saveCollection,
	delete: deleteCollection,
	my
}